<div ng-controller="ForgetPwdCtrl as vm">
    <h3 class="page-title">Forget your password? </h3>
    <div class="well">
       <form ng-submit="vm.processForm()">
        <div class="form-group">
            <label>Input Holidex Code</label>
            <input type="text" class="form-control"  ng-model="vm.code" ng-change="vm.getHotelName()"/>
             <p ng-show="vm.hotelName">{{vm.hotelName}}</p>
            <p class="text-danger">{{vm.msg}}</p>
        </div>
        
          <button type="submit" class="btn btn-danger">Submit</button>
        
        <p class="text-warning">{{vm.info}}</p>
        </form>
    </div>
</div>
